﻿@model Course

<h3>@ViewBag.PageTitle</h3>

<div class="form-group row">
    <label asp-for="CourseNo" class="col-sm-2 col-form-label">课程编号：</label>
    <div class="col-sm-6">
        <input asp-for="CourseNo" class="form-control" placeholder="课程编号" />
        <span asp-validation-for="CourseNo" class="text-danger"></span>
    </div>
</div>

<div class="form-group row">
    <label asp-for="Title" class="col-sm-2 col-form-label">课程名称：</label>
    <div class="col-sm-6">
        <input asp-for="Title" class="form-control" placeholder="课程名称:" />
        <span asp-validation-for="Title" class="text-danger"></span>
    </div>
</div>

<div class="form-group row">
    <label asp-for="Credits" class="col-sm-2 col-form-label"></label>
    <div class="col-sm-6">
        <input asp-for="Credits" class="form-control" placeholder="学分" />
        <span asp-validation-for="Credits" class="text-danger"></span>
    </div>
</div>

<div class="form-group row">
    <div class="col-sm-10">
        <a asp-action="index" class="btn btn-primary">返回</a>
        <a asp-action="edit" asp-route-id="@Model.Id" class="btn btn-primary">编辑</a>
    </div>
</div>
